import {
  COUNT_ADD,
  COUNT_REDUCE
} from "./mutation-type";


export default {
  [COUNT_ADD](state,n){
    state.count += n;
  },
  [COUNT_REDUCE](state,n){
    state.count -= n;
  }
}
